package com.ruibang.glass.produce.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.produce.domain.req.ProcessAbnormalityReq;
import com.ruibang.glass.produce.entity.ProcessAbnormality;
import com.teaming.cloud.framework2.common.model.ResultBody;

/**
 * @author 宋锦康
 */
public interface ProcessAbnormalityService extends IService<ProcessAbnormality> {

    ResultBody add(ProcessAbnormality processAbnormality);

    ResultBody edit(ProcessAbnormality processAbnormality);

    IPage<ProcessAbnormality> queryAbnormality(ProcessAbnormalityReq processAbnormalityReq);


    void deleteById(String id);
}
